home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
CC_C
/
H515.ZIP
/
CENVID.ZIP
/
ISDAY_2.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-03-18
|
497b
|
11 lines
@echo OFF
REM IsDay_2.bat - This is like IsDay_1.bat (Set ErrorLevel 1 if it is requested day
REM of the week, and ErrorLeve 0 if not), but accomplishes this in
REM only one quick call to CENVI. Unlike IsDay_1.bat, this does
REM no error checking and provides no help.
cenvi day="%1" day[3]=0 return( strstr(strupr(ctime(time())),strupr(day)) ? 1 : 0 )
if ErrorLevel 1 ECHO Yes, today is %1
if not ErrorLevel 1 ECHO No, today is not %1